package com.homework.dao.domain;

import java.io.Serializable;

/**
 * 秒杀后发送到rocketmq的消息实体
 */
public class OrderMessage implements Serializable {
    private final static long serialVersionUID = 1L;

    //下单用户id
    public int userId;

    //商品id
    public int goodsId;

    //下单数量
    public int num;

    //下单时间
    public int timestamp;

}
